//
//  HomeViewController.h
//  ShoppingExperience
//
//  Created by LiYinDi on 14-12-29.
//  Copyright (c) 2014年 RuiBen. All rights reserved.
//

#import <UIKit/UIKit.h>
//#import "MCPagerView.h"
#import "iCarousel.h"
#import "ZCWScrollNumView.h"
#import "AttributedLabel.h"
//#include "BJGridItem.h"
@protocol HomeViewControllerDelegate;
@interface HomeViewController : UIViewController<iCarouselDataSource,iCarouselDelegate>
{
   // NSMutableArray *gridItems;
  //  BJGridItem *addbutton;
    int page;
    float preX;
    BOOL isMoving;
    CGRect preFrame;
    BOOL isEditing;
  //  UITapGestureRecognizer *singletap;
    
  
}
@property(nonatomic)NSTimer *priceTimer;
@property(nonatomic)NSTimer *barCodeTimer;
@property(weak, nonatomic)IBOutlet AttributedLabel *timePriceLable;
@property(weak, nonatomic)IBOutlet UILabel *goldNameLabel;

@property(weak, nonatomic)IBOutlet UILabel *storeNameLabel;
@property(nonatomic,weak) id<HomeViewControllerDelegate> delegate;
//@property(nonatomic,strong) IBOutlet MCPagerView *mcPagerView;
//@property(nonatomic,strong)IBOutlet UIScrollView *leftScrollView;
@property(weak, nonatomic)IBOutlet UIView *scanViewContainer;
@property(weak, nonatomic)IBOutlet UIPageControl *pageControl1;
//@property (weak, nonatomic) IBOutlet UIImageView *backgoundImage;
@property (weak, nonatomic) IBOutlet UIScrollView *rightScrollView;
@property (weak, nonatomic) IBOutlet UIImageView *barcodeImageView;

@property (weak, nonatomic) IBOutlet iCarousel *carousel1;
@property (weak, nonatomic) IBOutlet UIButton *barCodeBtn;
//@property (weak, nonatomic) IBOutlet UIView *viewContainer;
//@property (weak, nonatomic) IBOutlet UIView *alphaView;
//@property (weak, nonatomic) IBOutlet UITableView *autoTableview;
@property (weak, nonatomic) IBOutlet ZCWScrollNumView *scrollNumber;
@property (weak, nonatomic) IBOutlet ZCWScrollNumView *scrollNumber1;
@property (weak, nonatomic) IBOutlet UIView *zcwScrollBackView;
@end
@protocol HomeViewControllerDelegate <NSObject>
@optional
-(void)customBtnClick:(NSInteger)index;

@end
